package com.kingdee.eas.custom.basetata;

import com.kingdee.bos.dao.AbstractObjectCollection;
import com.kingdee.bos.dao.IObjectPK;

public class UseDepartmentCollection extends AbstractObjectCollection 
{
    public UseDepartmentCollection()
    {
        super(UseDepartmentInfo.class);
    }
    public boolean add(UseDepartmentInfo item)
    {
        return addObject(item);
    }
    public boolean addCollection(UseDepartmentCollection item)
    {
        return addObjectCollection(item);
    }
    public boolean remove(UseDepartmentInfo item)
    {
        return removeObject(item);
    }
    public UseDepartmentInfo get(int index)
    {
        return(UseDepartmentInfo)getObject(index);
    }
    public UseDepartmentInfo get(Object key)
    {
        return(UseDepartmentInfo)getObject(key);
    }
    public void set(int index, UseDepartmentInfo item)
    {
        setObject(index, item);
    }
    public boolean contains(UseDepartmentInfo item)
    {
        return containsObject(item);
    }
    public boolean contains(Object key)
    {
        return containsKey(key);
    }
    public int indexOf(UseDepartmentInfo item)
    {
        return super.indexOf(item);
    }
}